package com.yun.blog.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * title        : Tag
 * projectName  : dantouBlog-back
 * description  : 博客标签
 * author       : simple
 * date         : 2022/11/23下午7:58
 */


@Data
@TableName("blog_tag")
public class Tag {

    @TableId(type = IdType.AUTO)
    private Integer tagId;
    private String tagName;
    private String tagColor;
    private Boolean isUse;

    @TableField(exist = false)
    private Integer blogCount;

}
